function addAttention(followerId) {
	
	if(followerId == null || followerId == "") {
		alert("关注者不能为空！");
		return;
	}
	
	$.ajax({
		url : "rs/addAttention.htm",
		type : "POST",
		dataType : "json",
		data : {"follower":followerId},
		success : function(status) {
			alert(status);
			if(status.success) {
				alert("添加关注成功!");
			} else {
				alert(status.msg);
			}
		}
	});
}

function cancelAttention(followerId) {
	
	if(followerId == null || followerId == "") {
		alert("关注者不能为空！");
		return;
	}
	
	$.ajax({
		url : "rs/cancelAttention.htm",
		type : "POST",
		dataType : "json",
		data : {"follower":followerId},
		success : function(status) {
			if(status.success) {
				alert("取消关注成功!");
			} else {
				alert(status.msg);
			}
		}
	});
}